package com.atde._05_behavioral_design_patterns.observer.improve;




/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.observer.improve
 * @Author: Del
 * @CreateTime: 2025-06-29  20:01
 * @Description: 主题接口，定义了观察者管理及通知机制，由具体主题（如WeatherData）实现
 * @Version: 1.0
 */
public interface Subject {

    void registerObserver(Observer o);

    void removeObserver(Observer o);

    void notifyObservers();
}
